import request from "@/utils/request.js"
//   查找城市
export function cityList(data) {
    return request({
        url: '/system/provincial/cityList',
        method: 'GET',
        params: data
    })
}

//   查找城市
export function getCity(data) {
    return request({
        url: '/system/provincial/getCity',
        method: 'GET',
        params: data
    })
}

// 查找省份
export function provincialList(data) {
    return request({
        url: '/system/provincial/provincialList',
        method: 'GET',
        params: data
    })
}
// 查找省市区
export function getMapCity(data) {
    return request({
        url: '/system/provincial/getMapCity',
        method: 'GET',
        params: data
    })
}
// 图片上传
export let fileUpload = (data) => {
    return request({
        url: "/system/user/profile/test",
        method: "POST",
        data: data
    })
}

